package com.ruoyi.basic.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【发文管理】对象 fwgl
 *
 * @author ruoyi
 * @date 2021-04-10
 */
public class Fwgl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文档ID */
    private String docunid;

    /** 稿纸题头 */
    @Excel(name = "稿纸题头")
    private String papertitle;

    /** 起草部门 */
    @Excel(name = "起草部门")
    private String writerdept;

    /** 起草人中文名 */
    @Excel(name = "起草人中文名")
    private String writercn;

    /** 起草人ID */
    @Excel(name = "起草人ID")
    private String writerid;

    /** 起草时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "起草时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date writedate;

    /** 字号 */
    @Excel(name = "字号")
    private String fileword;

    /** 文件年号 */
    @Excel(name = "文件年号")
    private Long fileyear;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private Long fileno;

    /** 密级 */
    @Excel(name = "密级")
    private String secretlevel;

    /** 缓急 */
    @Excel(name = "缓急")
    private String urgencylevel;

    /** 文件标题 */
    @Excel(name = "文件标题")
    private String subject;

    /** 主送 */
    @Excel(name = "主送")
    private String mainsend;

    /** 抄报 */
    @Excel(name = "抄报")
    private String copyreport;

    /** 抄送 */
    @Excel(name = "抄送")
    private String copysend;

    /** 红头题头 */
    @Excel(name = "红头题头")
    private String redtitle;

    /** 正文 */
    @Excel(name = "正文")
    private String wordcontent;

    /** 正文HTML */
    @Excel(name = "正文")
    private String wordcontenthtml;

    /** 流程key */
    @Excel(name = "流程key")
    private String processDefinitionKey;

    public String getWordcontenthtml() {
        return wordcontenthtml;
    }

    public void setWordcontenthtml(String wordcontenthtml) {
        this.wordcontenthtml = wordcontenthtml;
    }

    /** 正文右下部门落款 */
    @Excel(name = "正文右下部门落款")
    private String rightdept;

    /** 红头左下落款 */
    @Excel(name = "红头左下落款")
    private String leftdept;

    /** 文件成文时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "文件成文时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date printtime;

    /** 读者权限 */
    @Excel(name = "读者权限")
    private String readers;

    /** 作者权限控制字段 */
    @Excel(name = "作者权限控制字段")
    private String author;

    /** 文件签发人 */
    @Excel(name = "文件签发人")
    private String signerpublish;

    public String getFilewordId() {
        return filewordId;
    }

    public void setFilewordId(String filewordId) {
        this.filewordId = filewordId;
    }

    /** 文号id */
    @Excel(name = "文号id")
    private String filewordId;

    public void setDocunid(String docunid)
    {
        this.docunid = docunid;
    }

    public String getDocunid()
    {
        return docunid;
    }
    public void setPapertitle(String papertitle)
    {
        this.papertitle = papertitle;
    }

    public String getPapertitle()
    {
        return papertitle;
    }
    public void setWriterdept(String writerdept)
    {
        this.writerdept = writerdept;
    }

    public String getWriterdept()
    {
        return writerdept;
    }
    public void setWritercn(String writercn)
    {
        this.writercn = writercn;
    }

    public String getWritercn()
    {
        return writercn;
    }
    public void setWriterid(String writerid)
    {
        this.writerid = writerid;
    }

    public String getWriterid()
    {
        return writerid;
    }
    public void setWritedate(Date writedate)
    {
        this.writedate = writedate;
    }

    public Date getWritedate()
    {
        return writedate;
    }
    public void setFileword(String fileword)
    {
        this.fileword = fileword;
    }

    public String getFileword()
    {
        return fileword;
    }
    public void setFileyear(Long fileyear)
    {
        this.fileyear = fileyear;
    }

    public Long getFileyear()
    {
        return fileyear;
    }
    public void setFileno(Long fileno)
    {
        this.fileno = fileno;
    }

    public Long getFileno()
    {
        return fileno;
    }
    public void setSecretlevel(String secretlevel)
    {
        this.secretlevel = secretlevel;
    }

    public String getSecretlevel()
    {
        return secretlevel;
    }
    public void setUrgencylevel(String urgencylevel)
    {
        this.urgencylevel = urgencylevel;
    }

    public String getUrgencylevel()
    {
        return urgencylevel;
    }
    public void setSubject(String subject)
    {
        this.subject = subject;
    }

    public String getSubject()
    {
        return subject;
    }
    public void setMainsend(String mainsend)
    {
        this.mainsend = mainsend;
    }

    public String getMainsend()
    {
        return mainsend;
    }
    public void setCopyreport(String copyreport)
    {
        this.copyreport = copyreport;
    }

    public String getCopyreport()
    {
        return copyreport;
    }
    public void setCopysend(String copysend)
    {
        this.copysend = copysend;
    }

    public String getCopysend()
    {
        return copysend;
    }
    public void setRedtitle(String redtitle)
    {
        this.redtitle = redtitle;
    }

    public String getRedtitle()
    {
        return redtitle;
    }
    public void setWordcontent(String wordcontent)
    {
        this.wordcontent = wordcontent;
    }

    public String getWordcontent()
    {
        return wordcontent;
    }
    public void setRightdept(String rightdept)
    {
        this.rightdept = rightdept;
    }

    public String getRightdept()
    {
        return rightdept;
    }
    public void setLeftdept(String leftdept)
    {
        this.leftdept = leftdept;
    }

    public String getLeftdept()
    {
        return leftdept;
    }
    public void setPrinttime(Date printtime)
    {
        this.printtime = printtime;
    }

    public Date getPrinttime()
    {
        return printtime;
    }
    public void setReaders(String readers)
    {
        this.readers = readers;
    }

    public String getReaders()
    {
        return readers;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setSignerpublish(String signerpublish)
    {
        this.signerpublish = signerpublish;
    }

    public String getSignerpublish()
    {
        return signerpublish;
    }

    public String getProcessDefinitionKey() {
        return processDefinitionKey;
    }

    public void setProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("docunid", getDocunid())
                .append("papertitle", getPapertitle())
                .append("writerdept", getWriterdept())
                .append("writercn", getWritercn())
                .append("writerid", getWriterid())
                .append("writedate", getWritedate())
                .append("fileword", getFileword())
                .append("fileyear", getFileyear())
                .append("fileno", getFileno())
                .append("secretlevel", getSecretlevel())
                .append("urgencylevel", getUrgencylevel())
                .append("subject", getSubject())
                .append("mainsend", getMainsend())
                .append("copyreport", getCopyreport())
                .append("copysend", getCopysend())
                .append("redtitle", getRedtitle())
                .append("wordcontent", getWordcontent())
                .append("wordcontenthtml", getWordcontenthtml())
                .append("rightdept", getRightdept())
                .append("leftdept", getLeftdept())
                .append("printtime", getPrinttime())
                .append("readers", getReaders())
                .append("author", getAuthor())
                .append("signerpublish", getSignerpublish())
                .append("processDefinitionKey", getProcessDefinitionKey())
                .append("filewordId", getFilewordId())
                .toString();
    }
}